翻訳と辞書
Words near each other
・ One for All (Kazumi Watanabe album)
・ One for All (Peter Criss album)
・ One for All (Raven album)
・ One for All Tour
・ One for All – All for One
・ One for Fun
・ One for Me
・ One for My Baby (album)
・ One for My Baby (and One More for the Road)
・ One For My Baby - To Frank Sinatra With Love
・ One for One
・ One for One (Andrew Hill album)
・ One for One (Julian Austin album)
・ One for Rose
・ One Deep Breath
One Definition Rule
・ One Degree Initiative Foundation
・ One Degree World
・ One Desire
・ One Determined Heart
・ One Detroit Center
・ One Devonshire Gardens
・ One Devonshire Place
・ One Dimple
・ One Direction
・ One Direction discography
・ One Divides Into Two
・ One Does Not Play with Love
・ One Dollar (el precio de la vida)
・ One Dollar For Life


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

One Definition Rule : ウィキペディア英語版
One Definition Rule
The One Definition Rule (ODR) is an important concept in the C++ programming language. It is defined in the ISO C++ Standard (ISO/IEC 14882) 2003, at section 3.2.
== Summary ==
In short, the ODR states that:
#In any translation unit, a template, type, function, or object can have no more than one definition. Some of these can have any number of declarations. A definition provides an instance.
#In the entire program, an object or non-inline function cannot have more than one definition; if an object or function is used, it must have exactly one definition. You can declare an object or function that is never used, in which case you don't have to provide a definition. In no event can there be more than one definition.
#Some things, like types, templates, and extern inline functions, can be defined in more than one translation unit. For a given entity, each definition must be the same. Non-extern objects and functions in different translation units are different entities, even if their names and types are the same.
Some violations of the ODR must be diagnosed by the compiler. Other violations, particularly those that span translation units, are not required to be diagnosed.〔ISO/IEC (2003). ''ISO/IEC 14882:2003(E): Programming Languages - C++ §3.2 One definition rule ()'' para. 3〕

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「One Definition Rule」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.